
package org.icnmasjid.member.dao;

import java.util.List;
import java.util.Map;

import org.icnmasjid.member.dao.Dao;
import org.icnmasjid.member.model.IcnData;

public interface IcnDataDao extends Dao {

    /**
     * Retrieves all of the icnDatas
     */
    public List getIcnDatas(IcnData icnData);

    /**
     * Gets icnData's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if
     * nothing is found.
     *
     * @param icnDataId the icnData's icnDataId
     * @return icnData populated icnData object
     */
    public IcnData getIcnData(final Integer icnDataId);

    /**
     * Saves a icnData's information
     * @param icnData the object to be saved
     */
    public void saveIcnData(IcnData icnData);

    /**
     * Removes a icnData from the database by icnDataId
     * @param icnDataId the icnData's icnDataId
     */
    public void removeIcnData(final Integer icnDataId);

    public List getNonDuplicateIcnData();
}

